Skip to content

Add zeroization for stack buffers, add test for write protect#332

Open
padelsbach wants to merge 1 commit intowolfSSL:mainfrom
padelsbach:she-zeroization
Open

Add zeroization for stack buffers, add test for write protect#332
padelsbach wants to merge 1 commit intowolfSSL:mainfrom
padelsbach:she-zeroization

Conversation

@padelsbach
Copy link
Copy Markdown
Contributor

  • Zeroize stack buffers where applicable
  • Add test case for WH_SHE_FLAG_WRITE_PROTECT

Fixes F-2287, F-2293, F-2294, F-2295

@padelsbach padelsbach marked this pull request as ready for review April 10, 2026 17:09
Copy link
Copy Markdown
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐺 Skoll Code Review

Overall recommendation: APPROVE
Findings: 1 total — 1 posted, 1 skipped

Posted findings

  • [Medium] Incomplete zeroization: _LoadKey, _ExtendSeed, and _SecureBootFinish have same sensitive stack buffers but are not zeroizedsrc/wh_server_she.c:445-668,1012-1074,350-406
Skipped findings
  • [Medium] Incomplete zeroization: _LoadKey, _ExtendSeed, and _SecureBootFinish have same sensitive stack buffers but are not zeroized

Review generated by Skoll via openclaw

@dgarske dgarske assigned padelsbach and unassigned wolfSSL-Bot Apr 13, 2026
@padelsbach
Copy link
Copy Markdown
Contributor Author

  • [Medium] Incomplete zeroization: _LoadKey, _ExtendSeed, and _SecureBootFinish have same sensitive stack buffers but are not zeroizedsrc/wh_server_she.c:445-668,1012-1074,350-406

Fixed

@padelsbach padelsbach assigned wolfSSL-Bot and unassigned padelsbach Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants